package lewiszlw.sso.server.mapper;

import lewiszlw.sso.server.entity.PartnerEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @ClassName: PartnerMapper
 * @Decription: 此处填写类文件说明
 * @Author: dzy
 * @Date: 2021-07-16 17:28 星期五
 **/
@Mapper
@Repository
public interface PartnerMapper {

    PartnerEntity queryPartnerById(Integer id);

    PartnerEntity queryPartnerByOpenId(String openId);

    /**
     * 修改数据
     *
     * @param ssoPartner 实例对象
     * @return 实例对象
     */
    int update(PartnerEntity ssoPartner);

}
